﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Content.Manage.Lib.Models
{
    public class Account
    {
        [Key]
        public int Id { get; set; }

        [DisplayName("用户名")]
        [Required(ErrorMessage="{0}不能为空")]
        public string Username { get; set; }

        [DisplayName("密码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Password { get; set; }

        [DisplayName("备注")]
        public string Remark { get; set; }

        [DisplayName("创建时间")]
        public DateTime CreateTime { get; set; }

    }
}
